﻿<%@ Page Language="C#" MasterPageFile="~/MainMT.master" AutoEventWireup="true" CodeFile="LWMake.aspx.cs" Inherits="LWMake" Title="无锡校园人才网-论文" %>
 
<asp:Content ID="Content2" ContentPlaceHolderID="head" runat="server">
    <link href="css/stujob.css" rel="stylesheet" />
    <link href="css/default.css" rel="stylesheet" />
</asp:Content>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="leftmain">
        <div class="leftBox">
            <div class="loginChioce">
                <span class="leftTop">论文分类</span>
            </div>
            <div>
                <asp:DataList ID="DataList1" runat="server" DataKeyField="lwcid" border="0" cellspacing="0" cellpadding="5"
                    DataSourceID="SqlDataSource1" Width="200px">
                    <ItemTemplate>
                        <asp:HyperLink ID="HyperLink1" runat="server"
                            NavigateUrl='<%# "LWMakeInfo.aspx?lwc="+Eval("lwcid") %>'
                            Text='<%# Eval("lwcname") %>'></asp:HyperLink>
                    </ItemTemplate>
                    <AlternatingItemStyle BackColor="WhiteSmoke" />
                </asp:DataList>
                <asp:SqlDataSource ID="SqlDataSource1" runat="server"
                    ConnectionString="<%$ ConnectionStrings:DB_CCXYRCConnectionString %>"
                    SelectCommand="SELECT * FROM [lwclass]"></asp:SqlDataSource>
            </div>
        </div>
    </div>

    <div class="rightmain" style="width: 768px;">
        <div class="rightHeader1">
            <div class="rightHLeft"><span class="rightHeaderTitle">当前位置</span></div>
            <div class="rightHMiddle2">
                <span>
                    <a href="Default.aspx" class="moreRight" style="float: left;">首页</a> <span class="jian">></span>
                    <a href="LWMake.aspx" class="moreRight" style="float: left;">论文撰写</a>
                </span>
            </div>
            <div class="rightHRight"></div>
        </div>
        <div id="zpinfo">
            <div style="height: auto;">
                <asp:DataList ID="DataList2" runat="server" CellPadding="2"
                    DataKeyField="lwcid" DataSourceID="SqlDataSource1" HorizontalAlign="Center"
                    RepeatColumns="2" Width="768px">
                    <ItemStyle VerticalAlign="Top" />
                    <ItemTemplate>
                        <table>
                            <tr>
                                <td style="height: 25px;">
                                    <div class="rightHeader1">
                                        <div class="rightHLeft">
                                            <span class="rightHeaderTitle">
                                                <asp:HyperLink ID="HyperLink1" runat="server" Font-Bold="True"
                                                    NavigateUrl='<%# "LWMakeInfo.aspx?lwc="+Eval("lwcid") %>'
                                                    Text='<%# Eval("lwcname") %>' Width="242px"></asp:HyperLink></span>
                                        </div>
                                        <div class="rightHMiddle1" style="width: 300px"></div>
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="2" style="height: 52px;">
                                    <asp:DataList ID="DataList3" runat="server" DataKeyField="lwid"
                                        DataSourceID="ds1" HorizontalAlign="Left" Width="380px">
                                        <ItemTemplate>
                                            <asp:HyperLink ID="HyperLink2" runat="server"
                                                NavigateUrl='<%# "LWMakeInfo.aspx?lw="+Eval("lwid")+"&lwc="+Eval("lwcid") %>'
                                                Text='<%# "◆"+ Eval("lwtitle") %>'></asp:HyperLink>

                                        </ItemTemplate>
                                        <ItemStyle HorizontalAlign="Left" VerticalAlign="Top" />
                                    </asp:DataList>
                                    <asp:SqlDataSource ID="ds1" runat="server"
                                        ConnectionString="<%$ ConnectionStrings:DB_CCXYRCConnectionString %>"
                                        SelectCommand="SELECT * FROM [lwinfo] WHERE ([lwcid] = @lwcid)">
                                        <SelectParameters>
                                            <asp:ControlParameter ControlID="Label1" Name="lwcid" PropertyName="Text"
                                                Type="Int32" />
                                        </SelectParameters>
                                    </asp:SqlDataSource>
                                    <asp:Label ID="Label1" runat="server" Text='<%# Eval("lwcid") %>'
                                        Visible="False"></asp:Label>
                                </td>
                            </tr>
                        </table>
                        <br />
                    </ItemTemplate>
                </asp:DataList>
            </div>
        </div>
    </div>

</asp:Content>

